<div class="container"> 
	<div class="row"> 
		<div class="panel panel-info">
			<div class="panel-heading">
				<div class="panel-title">My Domains</div>
			</div>
			<div class="panel-body">
				<ul class="nav nav-tabs" role="tablist">
					<li class="active"><a href="<?php echo base_url('users/domain_manage/register')?>">My Domain</a></li>
					<li><a href="<?php echo base_url('users/domain_manage/dns')?>">DNS Hosted</a></li>
					<li><a href="<?php echo base_url('users/domain_manage/expiring')?>">Expiring</a></li>
					<li><a href="<?php echo base_url('users/domain_manage/expired')?>">Expired</a></li>
					<li><a href="<?php echo base_url('users/domain_manage/transfer')?>">My Transfer</a></li>
					<li><a href="<?php echo base_url('users/domain_manage/hosting')?>">My Hosting</a></li>
				</ul>
				<table class="table table-striped table-bordered">
					<thead>
						<tr class="success">
							<th>#</th>
							<th>Domain Name</th>
							<th>TLD</th>
							<th>Our DNS</th>
							<th>Expire Date</th>
							<th>Auto Renew</th>
							<th>ID Protect</th>
							
						</tr>
					</thead>
					<tbody>
						<?php foreach($register_domain as $domain){?>
						<tr>
							<?php
								if($domain['wpps'] == '0'){
									$idprotect = '<img src="'.base_url('assets/front/img/ID_naprotected.gif').'"/>';
								}elseif($domain['wpps'] == '1' && $domain['idprotect'] == 0){
									$idprotect = '<img src="'.base_url('assets/front/img/ID_notprotected2.gif').'"/>';
								}elseif($domain['idprotect']==1){
									$idprotect = '<img src="'.base_url('assets/front/img/ID_protected.gif').'"/>';
								}
							?>
							<td><input type="checkbox" value="<?=$domain['e_domain_id']?>" name="selected[]" /></td>
							<td><?=$domain['sld']?></td>
							<td><?=$domain['tld']?></td>
							<td><?=($domain['dns']==0)? '<img src="'.base_url('assets/front/img/ico-no-dns.gif').'"/>' : '<img src="'.base_url('assets/front/img/ico-dns.gif').'"/>'?></td>
							<td><?=$domain['exp_date']?></td>
							<td><?=($domain['auto_renew']==0)?"Off":"On"?></td>
							<td><?=$idprotect?></td>
							
						</tr>
						<?}?>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>